<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no" />
  <title>用户登录</title>
  <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
</head>

<body>
  <div class="box">
    <div>ajax的post请求</div>
    <div class="login-box">
      <div class="form-item">
        <label for="username">用户名称</label>
        <input type="text" id="username" class="username" placeholder="输入用户名" />
      </div>
      <div class="form-item">
        <label for="password">用户密码</label>
        <input type="text" id="password" class="password" placeholder="输入密码" />
      </div>
      <div class="form-item">
        <button class="submit-btn">登录</button>
      </div>
    </div>
  </div>
  <script src="./js/ajax-post.js"></script>
</body>

</html>